const { defineConfig } = require('@vue/cli-service');

module.exports = defineConfig({
    transpileDependencies: true,
    lintOnSave: false,
    // productionSourceMap: false,
    publicPath: "./",
    devServer: {
        proxy: {
            '/mmdb': {
                target: 'https://wx.maoyan.com',
                changeOrigin: true,
            },
            '/tianqi': {
                target: 'http://api.tianapi.com',
                changeOrigin: true,
            },
            '/api': {
                target: 'https://www.haodf.com',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '',
                },
            },

        },
    },
});